import {
  CategoryStatusEnum,
  CategoryTypeEnum,
  DishStatusEnum,
  EmployeeSexEnum,
  EmployeeStatusEnum,
  SetmealStatusEnum,
  ShopStatusEnum
} from '../enum'

export const EmployeeStatusOption = [
  {
    label: '禁用',
    value: EmployeeStatusEnum.Disable
  },
  {
    label: '启用',
    value: EmployeeStatusEnum.Enable
  }
]

export const EmployeeSexOption = [
  {
    label: '男',
    value: EmployeeSexEnum.Male
  },
  {
    label: '女',
    value: EmployeeSexEnum.Female
  }
]

export const CategoryTypeOptions = [
  {
    label: '菜品分类',
    value: CategoryTypeEnum.Dish
  },
  {
    label: '套餐分类',
    value: CategoryTypeEnum.Setmeal
  }
]

export const CategoryStatusOptions = [
  {
    label: '启用',
    value: CategoryStatusEnum.Enable
  },
  {
    label: '禁用',
    value: CategoryStatusEnum.Disable
  }
]

export const DishStatusOptions = [
  {
    label: '启售',
    value: DishStatusEnum.Enable
  },
  {
    label: '停售',
    value: DishStatusEnum.Disable
  }
]

export const DishFlavorNameOptions = [
  {
    label: '甜度',
    value: '甜度'
  },
  {
    label: '温度',
    value: '温度'
  },
  {
    label: '忌口',
    value: '忌口'
  },
  {
    label: '辣度',
    value: '辣度'
  }
]

export const ShopStatusOptions = [
  {
    label: '营业中',
    value: ShopStatusEnum.Enable,
    desc: '当前餐厅处于营业状态，自动接收任何订单，可点击打烊进入店铺打烊状态'
  },
  {
    label: '已打样',
    value: ShopStatusEnum.Disable,
    desc: '当前餐厅处于打烊状态，不接受任何订单，可点击营业手动恢复营业状态'
  }
]

export const SetmealStatusOptions = [
  {
    label:"起售",
    value:SetmealStatusEnum.Enable
  },
  {
    label:"停售",
    value:SetmealStatusEnum.Disable
  }
]
